package com.cc.pms.service;

import com.cc.pms.domain.vo.UserVo;
import com.cc.common.core.domain.R;
import com.cc.common.core.page.PageQuery;
import com.cc.common.core.page.PageVo;

import java.util.List;
import java.util.Map;

public interface IUserService {

    PageVo<UserVo> queryUserVoListByTagIds(PageQuery query , List<Long> tagIds);


    PageVo<UserVo> queryUserVoListByUserName(PageQuery query , String username);


    UserVo queryUserVoListByUserId(Long userId);


    R<Map<String, String>> loginService(UserVo userVo);


    R<Boolean> updatePassword(UserVo userVo);


    R<Boolean> forgetPassword(UserVo userVo);

    R<Boolean> updateUser(UserVo userVo);

    R<Map<String , Long>> registerUser(UserVo userVo);

}
